html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.full {
    width: 100%;
}

.top-bar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    display: none;
}

.login {
    //display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 998;
    .login-inner {
        position: absolute;
        left: 0;
        top: 50%;
        width: 608px / 640px * 100%;
        padding-top: 452px / 640px * 100%;
        margin-top: -(452px / 640px * 100% /2);
        background: url(../img/login.png) no-repeat center bottom;
        background-size: cover;
        .login-input {
            position: absolute;
            left: 28%;
            top: 43.5%;
            border: 0;
            background-color: #fff;
            margin: 0;
            padding: 0;
            height: 12%;
            outline: none;
            text-align: left;
            width: 40%;
            z-index: 2;
            font-size: 16px;
        }
        .error-tip {
            position: absolute;
            left: 24%;
            top: 58%;
            font-size: 12px;
            color: #ae0000;
            display: none;
        }
        .login-btn {
            position: absolute;
            z-index: 2;
            bottom: 12%;
            right: 2%;
            width: 278px / 640px * 100%;
        }
    }
}

.game-over {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    .game-over-inner {
        position: absolute;
        left: 0;
        top: 50%;
        width: 542px / 640px * 100%;
        padding-top: 289px / 640px * 100%;
        margin-top: -(289px / 640px * 100% /2);
        background: url(../img/game-over.png) no-repeat center bottom;
        background-size: cover;
        .game-over-text {
            position: absolute;
            left: 10%;
            top: 45%;
            color: #fff;
            line-height: 20px;
            margin-top: -10px;
            font-size: 18px;
            font-style: italic;
            display: none;
        }
    }
}

.start {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    //background: url(../img/bg.jpg) no-repeat center top;
    background: url(../img/bg_0307.jpg) no-repeat center top;
    //background-size: cover;
    background-size: 100% 100%;
    .start-logo{
        position: absolute;
        width:276px / 640px * 100%;
        right: 26px / 640px * 100%;
        top: 2%;
    }
    .start-btn {
        position: absolute;
        bottom: 10%;
        right: 0%;
        width: 298px / 640px * 100%;
    }
    .start-headline {
        width: 437px /640px * 100%;
        margin: 34% auto 0;
    }
    .start-copy {
        position: absolute;
        bottom: 2%;
        left: 0%;
        width: 327px / 640px * 100%;
    }
}

#quiz-question > div, #quiz-answer > .quiz-answer-list {
    display: none;
}

.quiz {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../img/bg2.jpg) no-repeat center;
    background-size: cover;
    .quiz-over {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        display: none;
        .quiz-over-inner {
            position: absolute;
            left: 0;
            top: 50%;
            width: 542px / 640px * 100%;
            padding-top: 351px / 640px * 100%;
            margin-top: -(351px / 640px * 100% /2);
            background: url(../img/quiz-over.png) no-repeat center bottom;
            background-size: cover;
        }
    }
    .quiz-btn {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9;
        .submit-btn-disabled {
            img {
                -webkit-filter: grayscale(100%);
                -moz-filter: grayscale(100%);
                -ms-filter: grayscale(100%);
                -o-filter: grayscale(100%);
            }
        }
    }
    .quiz-order {
        position: absolute;
        width: 100%;
        left: 0;
        top: -10%;
        text-align: center;
        color: #fff;
    }
    .quiz-question {
        position: absolute;
        width: 100%;
        height: 50%;
        left: 0;
        top: 0;
        text-align: center;
        color: #fff;
        overflow: scroll;
        z-index: 1;
        .time {
            padding: 11% 0 3%;
        }
        .style1, .style2 {
            width: 90%;
            margin: 0 auto;
        }
        .quiz-question-profile {
            width: 36px;
            border: solid 1px #c4c4c4;
        }
        .quiz-question-content {
            border-radius: 5px;
            max-width: 70%;
            padding: 3%;
            text-align: left;
            border: solid 1px #c4c4c4;
            position: relative;
        }
        .style1 {
            .arrow {
                position: absolute;
                left: -7px;
                top: 10%;
                width: 7px;
            }
            .quiz-question-profile {
                float: left;
                transition: all 1s;
                position: relative;
                z-index: 2;
                opacity: 0;
                transform: translateX(-100%);
                &.active {
                    opacity: 1;
                    transform: translateX(0);
                }
            }

            .quiz-question-content {
                float: left;
                margin-left: 4%;
                background-color: #ebebeb;
                color: #005177;
                transition: all 1s;
                opacity: 0;
                transform: translateX(50%);
                &.active {
                    opacity: 1;
                    transform: translateX(0);
                }
            }
        }
        .style2 {
            margin-top: 5%;
            margin-bottom: 5%;
            .arrow {
                position: absolute;
                right: -7px;
                top: 10%;
                width: 7px;
            }
            .quiz-question-profile {
                float: right;
                transition: all 1s;
                opacity: 0;
                transform: translateX(50%);
            }
            .quiz-question-content {
                float: right;
                margin-right: 4%;
                background-color: #005177;
                color: #fff;
                transition: all 1s;
                opacity: 0;
                transform: translateX(-100%);
            }
            &.active {
                .quiz-question-profile {
                    opacity: 1;
                    transform: translateX(0%);
                }
                .quiz-question-content {
                    opacity: 1;
                    transform: translateX(0%);
                }
            }
        }
    }
    .quiz-answer {
        border-top: solid 1px #a4a4a4;
        background: url(../img/quiz-mask.png) no-repeat center rgba(255, 255, 255, 0.6);
        background-size: cover;
        position: absolute;
        width: 100%;
        left: 0;
        bottom: 0;
        padding-bottom: 12.5%;
        z-index: 1;
        .quiz-answer-list {
            &.active {
                .quiz-answer-item {
                    opacity: 1;
                    transform: translateX(0%);
                }
            }
        }
        .quiz-answer-item {
            transition: all 1s;
            opacity: 0;
            transform: translateX(-50%);
            width: 85%;
            margin: 5% auto;
            padding: 2% 5%;
            background-color: #ebebeb;
            border: solid 1px #c4c4c4;
            color: #005177;
            border-radius: 5px;
            overflow: hidden;
            display: table;
            font-size: 14px;
            &.item-1 {
                transform: translateX(-50%);
            }
            &.item-2 {
                transform: translateX(-75%);
            }
            &.item-3 {
                transform: translateX(-100%);
            }
            &.item-4 {
                transform: translateX(-125%);
            }
            &.active {
                background-color: #005177;
                color: #fff;
            }
            span {
                display: table-cell;
                vertical-align: top;
                &.num {
                    width: 5%;
                    padding-right: 2%;
                }
                &.answers {
                    width: 95%;
                }
            }
        }
    }
}

.result {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 504px;
    background: url(../img/bg2.jpg) no-repeat center center;
    background-size: cover;
    .result-text {
        position: absolute;
        top: 8%;
        left: 0%;
        width: 406px / 640px * 100%;
    }
    .result-inner {
        position: absolute;
        left: 5%;
        top: 0;
        margin-top: 25%;
        width: 90%;
        color: #015788;
        font-size: 14px;
    }
    .result-tip {
        text-align: center;
        position: absolute;
        left: 0;
        top: 20%;
        width: 100%;
        margin-top: 0;
        color: #fff;
        font-size: 18px;
    }
    .result-img {
        position: absolute;
        top: 35%;
        left: 50%;
        width: 471px / 640px * 100%;
        margin-left: -471px / 640px * 100% /2;
    }
}